package net.jsoft.pms.service.mysql.problem;

import java.io.InputStream;
import java.util.Date;
import java.util.List;
import java.util.Map;

import net.jsoft.pms.entity.problem.ProblemTask;

public interface IProblemService
{

    void batchImport(InputStream inputStream);

    List<ProblemTask> findProblemTaskByPeriod(Date begin, Date end);

    List<ProblemTask> findAll();

    Map<String, List<ProblemTask>> dealedProblemTask(List<ProblemTask> thisWeek, Date date);

    List<ProblemTask> findProblemTaskByStatus(String status);

    Map<String, List<ProblemTask>> group(List<ProblemTask> thisWeek);

    ProblemTask findOne(String id);

    List<ProblemTask> findNoTaskProblems();

    List<ProblemTask> batchImport(List<Map<String, Object>> list);

}
